package com.heima.wemedia.service;
/*
    
 需求描述：
 @Author: wang
 @Date: 2022/10/13 22:27
 
 */

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


public interface WmMaterialService extends IService<WmMaterial> {
    ResponseResult upload(MultipartFile multipartFile) throws IOException;

    ResponseResult findList(WmMaterialDto dto);

    ResponseResult delPictureById(Integer id);

    ResponseResult cancelCollectOrCollect(Integer id, short i);
}
